//
//  NSString+JFCategory.m
//  JobFree2.0
//
//  Created by Dale on 2017/6/20.
//  Copyright © 2017年 Dale. All rights reserved.
//

#import "NSString+JFCategory.h"

@implementation NSString (JFCategory)

+ (BOOL)isEnglishFirst:(NSString *)str {
    NSString *regular = @"^[A-Za-z].+$";
    NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", regular];
    
    if ([predicate evaluateWithObject:str] == YES){
        return YES;
    }else{
        return NO;
    }
}

@end
